package com.project.slsx.bean;


import java.util.List;

public class OrderListBean extends BaseBean {

    private List<ResultBean> result;

    public List<ResultBean> getResult() {
        return result;
    }

    public void setResult(List<ResultBean> result) {
        this.result = result;
    }

    public static class ResultBean {
        /**
         * id : 27262
         * ordersn : 20190225203141692452
         * price : 10
         * num : 1.00
         * status : 5
         * addtime : 1551097901
         * final_fee : 10
         * pay_type : 微信支付
         * is_pay : 1
         * goods : [{"id":"70712","goods_id":"4097","option_id":"2541","goods_num":"1.00","goods_unit_price":"10.00","goods_title":"白沙(硬新精品二代)(一包)","goods_price":"10.00","status":"5","thumb":"http://www.sweiquan.cn/attachment/images/2/2018/11/Ru1ND375drIdI3u4B0aDr7044R0Rd7.png"}]
         */

        private String id;
        private String ordersn;
        private String price;
        private String num;
        private String status;
        private String addtime;
        private String final_fee;
        private String pay_type;
        private String is_pay;
        private List<GoodsBean> goods;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getOrdersn() {
            return ordersn;
        }

        public void setOrdersn(String ordersn) {
            this.ordersn = ordersn;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getNum() {
            return num;
        }

        public void setNum(String num) {
            this.num = num;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getAddtime() {
            return addtime;
        }

        public void setAddtime(String addtime) {
            this.addtime = addtime;
        }

        public String getFinal_fee() {
            return final_fee;
        }

        public void setFinal_fee(String final_fee) {
            this.final_fee = final_fee;
        }

        public String getPay_type() {
            return pay_type;
        }

        public void setPay_type(String pay_type) {
            this.pay_type = pay_type;
        }

        public String getIs_pay() {
            return is_pay;
        }

        public void setIs_pay(String is_pay) {
            this.is_pay = is_pay;
        }

        public List<GoodsBean> getGoods() {
            return goods;
        }

        public void setGoods(List<GoodsBean> goods) {
            this.goods = goods;
        }

        public static class GoodsBean {
            /**
             * id : 70712
             * goods_id : 4097
             * option_id : 2541
             * goods_num : 1.00
             * goods_unit_price : 10.00
             * goods_title : 白沙(硬新精品二代)(一包)
             * goods_price : 10.00
             * status : 5
             * thumb : http://www.sweiquan.cn/attachment/images/2/2018/11/Ru1ND375drIdI3u4B0aDr7044R0Rd7.png
             */

            private String id;
            private String goods_id;
            private String option_id;
            private String goods_num;
            private String goods_unit_price;
            private String goods_title;
            private String goods_price;
            private String status;
            private String thumb;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getGoods_id() {
                return goods_id;
            }

            public void setGoods_id(String goods_id) {
                this.goods_id = goods_id;
            }

            public String getOption_id() {
                return option_id;
            }

            public void setOption_id(String option_id) {
                this.option_id = option_id;
            }

            public String getGoods_num() {
                return goods_num;
            }

            public void setGoods_num(String goods_num) {
                this.goods_num = goods_num;
            }

            public String getGoods_unit_price() {
                return goods_unit_price;
            }

            public void setGoods_unit_price(String goods_unit_price) {
                this.goods_unit_price = goods_unit_price;
            }

            public String getGoods_title() {
                return goods_title;
            }

            public void setGoods_title(String goods_title) {
                this.goods_title = goods_title;
            }

            public String getGoods_price() {
                return goods_price;
            }

            public void setGoods_price(String goods_price) {
                this.goods_price = goods_price;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getThumb() {
                return thumb;
            }

            public void setThumb(String thumb) {
                this.thumb = thumb;
            }

            @Override
            public String toString() {
                return "GoodsBean{" +
                        "id='" + id + '\'' +
                        ", goods_id='" + goods_id + '\'' +
                        ", option_id='" + option_id + '\'' +
                        ", goods_num='" + goods_num + '\'' +
                        ", goods_unit_price='" + goods_unit_price + '\'' +
                        ", goods_title='" + goods_title + '\'' +
                        ", goods_price='" + goods_price + '\'' +
                        ", status='" + status + '\'' +
                        ", thumb='" + thumb + '\'' +
                        '}';
            }
        }
    }

    @Override
    public String toString() {
        return "OrderListBean{" +
                "result=" + result +
                '}';
    }
}
